﻿
namespace storge
{
	public class PhysicalFolderFactory : IFolderFactory
	{
		public IFolder GetFolder(string path)
		{
			return new PhysicalFolder(path);
		}

		public IFolder GetFolder(System.Environment.SpecialFolder folder)
		{
			return new PhysicalFolder(System.Environment.GetFolderPath(folder));
		}

		public IFile GetFile(string path)
		{
			return new PhysicalFile(path);
		}
	}
}
